import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:oi_ai_tool/widgets/oi_back.dart';

class OiScaffold extends Scaffold {
  @override
  final AppBar? appBar;
  @override
  final Widget? body;
  OiScaffold({super.key, this.appBar, this.body, super.bottomNavigationBar})
      : super(
            appBar: AppBar(
              leading: OiBack(
                isBackHome: false,
              ),
            ),
            body: Padding(
              padding: EdgeInsets.all(10.dm),
              child: body,
            ));
}
